#include "Factory.h"

int main(int argc, char *argv[])
{
    AbstractFactory *shapeFactory = FactoryProducer::getFactory("SHAPE");
    AbstractFactory *colorFactory = FactoryProducer::getFactory("COLOR");

    Shape *shape = shapeFactory->getShape("SQUARE");
    shape->draw();

    Color *color = colorFactory->getColor("RED");
    color->fill();
    return 0;
}